package org.jvm.rtda.heap;

import java.util.*;

/**
 * 方法描述
 *
 * @author 海燕
 * @date 2023/2/11
 */
public class MethodDescriptor {

    private List<String> parameterTypes = new ArrayList<>();

    private String returnType;

    public List<String> getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(List<String> parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public void addParameterType(String t) {
        this.parameterTypes.add(t);
    }
}
